build executables with -fPIE, not -fPIC
authorDebian Med Packaging Team <debian-med-packaging@lists.alioth.debian.org>
Mon, 29 Sep 2025 03:08:59 +0000 (23:08 -0400)
committerAaron M. Ucko <ucko@debian.org>
Mon, 29 Sep 2025 03:08:59 +0000 (23:08 -0400)
commitf0bbdf0a58113580bf20bc4efeac3d6622be5de1
tree7467f8717da588641fa877580033194f9ca26d3d
parent5945ea383eddafb614376f8db88aa32253c96f77
build executables with -fPIE, not -fPIC

* -fPIC is only useful for shared libraries; substitute -fPIE (along
   with -pie at link time) when building executables.

Author: Aaron M. Ucko <ucko@debian.org>
Last-Update: 2012-05-10

Gbp-Pq: Name use_pie_for_apps
c++/src/build-system/Makefile.app.in